<%@ page import="com.jiazhong.Model.Goods" %><%--
  Created by IntelliJ IDEA.
  User: 陈洋
  Date: 2022/10/26
  Time: 18:23
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<h2 align="center">修改商品</h2>
<%
    Goods goods=(Goods)request.getAttribute("goods");
%>
<form method="post" action="/goods/goods.do?method=updateGoods&goods_id=<%=goods.getGoods_id()%>">
<%--    <input type="hidden" name="goods_id" value="<%=goods.getGoods_id()%>">--%>
    商品名称:<input type="text" name="goods_name" value="<%=goods.getGoods_name()%>"><br>
    商品单价:<input type="text" name="goods_price" value="<%=goods.getGoods_price()%>"><br>
    上架时间:<input type="date" name="goods_time" value="<%=goods.getGoods_time()%>"><br>
    <button>确认修改</button>
    <button type="reset">重置</button>
</form>
</body>
</html>
